package com.serviceImpl;

import com.service.UserService;

public class UserServiceImpl implements UserService {
    @Override
    public void findAll() {
        System.out.println("查询所有数据");
    }

    @Override
    public void update() {
        System.out.println("修改数据");
    }

    @Override
    public void findOne(int id) {
        System.out.println("查询id为:"+id+"的数据");
        System.out.println(1/0);
    }

    @Override
    public int findAdd(int a, int b) {
        return a+b;
    }
}